package uspeedd.metamodel;

import java.util.ArrayList;
import java.util.List;

import uspeedd.metamodel.enumeration.TypeDeclarationUspeed;

public class ElementUspeed 
{
	private TypeDeclarationUspeed typeD;
	private String nom;
	private List<String> phrase;
	
	private List<Liens> mesLiens;
	private List<Declaration> mesDeclarations;
	public TypeDeclarationUspeed getTypeD() {
		return typeD;
	}
	public void setTypeD(TypeDeclarationUspeed typeD) {
		this.typeD = typeD;
	}
	public String getNom() {
		return nom;
	}
	public void setNom(String nom) {
		this.nom = nom;
	}
	public List<String> getPhrase() {
		return phrase;
	}
	public void setPhrase(List<String> phrase) {
		this.phrase = phrase;
	}
	public void add(String phrase)
	{
		if(this.phrase == null) this.phrase = new ArrayList<String>();
		this.phrase.add(phrase);
	}

	public List<Liens> getMesLiens() {
		return mesLiens;
	}
	public void setMesLiens(List<Liens> mesLiens) {
		this.mesLiens = mesLiens;
	}
	public void add(Liens mesLiens)
	{
		if(this.mesLiens == null) this.mesLiens = new ArrayList<Liens>();
		this.mesLiens.add(mesLiens);
	}

	public List<Declaration> getMesDeclarations() {
		return mesDeclarations;
	}
	public void setMesDeclarations(List<Declaration> mesDeclarations) {
		this.mesDeclarations = mesDeclarations;
	}
	public void add(Declaration mesDeclarations)
	{
		if(this.mesDeclarations == null) this.mesDeclarations = new ArrayList<Declaration>();
		this.mesDeclarations.add(mesDeclarations);
	}
}
